package com.heart.sell.form;

import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import java.math.BigDecimal;

/**
 * @author Luo Zhen
 * @create 2019-04-29 11:33
 */
@Data
public class ProductForm {

    private String productId;
    @NotEmpty(message = "商品姓名必须填写")
    private String productName;
    private BigDecimal productPrice;
    private Integer productStock;
    private String productDescription;
    private String productIcon;
    private Integer categoryType;

}
